$def with (page)

$ _ = i18n.get_namespace('/mode/edit')

<input type="button" class="small-button" onclick="changeTemplate()" value="$_.modify_edit"/>
<input type="button" class="small-button" onclick="changeTemplate()" value="$_.modify_view"/>